package web

import (
	"github.com/kataras/iris/v12"
	"github.com/kataras/iris/v12/hero"
	"iris_blog/controller/web"
)

func Focus(party iris.Party) {
	focus := party.Party("/focus")
	serve := web.Focus{}
	focus.Get("/", hero.Handler(serve.GetAll))
}